package backstage.app.mapper;


import java.util.List;


import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

 
import backstage.app.entity.NoConstitution;
 
@Repository
public interface NoConstitutionMapper extends BaseMapper<NoConstitution>{
   

    int deleteByPrimaryKey(Integer cid);
 
    int insertSelective(NoConstitution noConstitution);

    int selectByCpIdByCount(int cpId);
    
    NoConstitution selectByPrimaryKey(Integer cid);

    List<NoConstitution> selectBySid(Integer sid );
   
   NoConstitution selectByCpId(Integer cpId);
   
   int updateByPrimaryKeyDENot(NoConstitution noConstitution);
   
    int updateByPrimaryKey(NoConstitution noConstitution);
}